-- 添加 lib 目录到搜索路径
-- package.path = package.path .. ";./?.lua"


local mypackage = require("mypackage")
mypackage.greet()  -- 输出: Loaded mypackage successfully!